package com.shirley.algorithm.sort;

import java.util.Arrays;

public class SortTest {
    public static void main(String[] args) throws InterruptedException {
        int[] source = new int[]{6, 3, 12, 4, 56, 7, 1, 2, 3, 2, 19, 1, 2, 0, 3, 4, 8};
        System.out.println("BubbleSort result = " + Arrays.toString(BubbleSort.sort(source)));
        System.out.println("InsertSort result = " + Arrays.toString(InsertSort.sort(source)));
        System.out.println("QuickSort result = " + Arrays.toString(QuickSort.sort(source)));
        System.out.println("SelectSort result = " + Arrays.toString(SelectSort.sort(source)));
        System.out.println("ShellSort result = " + Arrays.toString(ShellSort.sort(source)));
    }
}
